package org.ens.delegation.dao;

import java.util.List;
import org.ens.delegation.bo.Commune;

public interface ICommuneDao extends IGenericDao<Commune, Integer>{

    public List<Commune> findByFilters(String orderCol, String orderDir, String descriptionAr, String descriptionFr, String idRegion );
    
    public List<Commune> findByFiltersWithFirstMaxResult(int first,int max,String orderCol,String orderDir, String descriptionAr, String descriptionFr, String idRegion );
        
    public Integer getRowCountByFilters(String descriptionAr, String descriptionFr, String idRegion);
}
